package com.stone.framework.message.task;

import javax.validation.constraints.NotBlank;

import com.stone.framework.message.SortableBody;

import io.swagger.annotations.ApiModelProperty;

public class JobExecutionPageReqBody extends SortableBody {

    @ApiModelProperty(value = "job名称", required = true)
    @NotBlank(message = "[jobName] {title.notBlank}")
    private String jobName;

    @Override
    @ApiModelProperty(value = "排序，任意值")
    public String getOrderBy() {
        return super.getOrderBy();
    }

    @Override
    public void setOrderBy(String orderBy) {
        super.setOrderBy("bje.createTime");
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

}
